var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
})

router.get('/list', (req, res, next) => {
  res.send({
    data: ['武汉-中国','意大利','韩国','日本','美国'],
    message: 'success',
    code: 0
  })
})

router.get('/get-test', (req, res, next) => {
  res.send({
    message: '我是一个get-测试接口',
    code: 0
  })
})

module.exports = router;
